From: Richard M. Stallman Date: Sat, 1 Jan 1994 15:12:52 +0000 (+0000) Subject: (read_process_output): Use clip_to_bounds when moving X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93656 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=53aad33f8a1af625c7e675652189f8683a24a014;p=emacs.git (read_process_output): Use clip_to_bounds when moving to the process marker. --- diff --git a/src/process.c b/src/process.c index 031bca2faab..ae2350a85f8 100644 --- a/src/process.c +++ b/src/process.c @@ -2138,7 +2138,7 @@ read_process_output (proc, channel) at the current end-of-output marker, thus preserving logical ordering of input and output. */ if (XMARKER (p->mark)->buffer) - SET_PT (marker_position (p->mark)); + SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV)); else SET_PT (ZV);